projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c4ab8
)
pull: Fix leak of refs_to_fetch
author
Alexander Larsson
<alexl@redhat.com>
Fri, 10 Jun 2016 10:13:23 +0000
(12:13 +0200)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Fri, 10 Jun 2016 11:12:59 +0000
(11:12 +0000)
Closes: #333
Approved by: giuseppe
src/libostree/ostree-repo-pull.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-pull.c
b/src/libostree/ostree-repo-pull.c
index c28596ffcaeb3be96a3534ab56361376a7d29e1b..53847340cf227267aae8e31183132f80afda5d8e 100644
(file)
--- a/
src/libostree/ostree-repo-pull.c
+++ b/
src/libostree/ostree-repo-pull.c
@@
-2182,7
+2182,7
@@
ostree_repo_pull_with_options (OstreeRepo *self,
guint64 end_time;
OstreeRepoPullFlags flags = 0;
const char *dir_to_pull = NULL;
- char **refs_to_fetch = NULL;
+
g_autofree
char **refs_to_fetch = NULL;
char **override_commit_ids = NULL;
GSource *update_timeout = NULL;
gboolean disable_static_deltas = FALSE;